package com.spica.platform.base.exception.instance;

import com.spica.platform.base.exception.errorcode.BizRtnCodEnum;

/**
 * 业务基础异常，如登录失败
 */
public class BizException extends AbstractBaseException{

    public BizException(BizRtnCodEnum errorCode) {
        super(errorCode);
    }

    public BizException(String rtnMsg) {
        super(BizRtnCodEnum.UN_KNOWN_BIZ_ERROR, rtnMsg);
    }
}
